﻿Ext.define('app.prm.search.Index', {
    extend: 'Ext.tab.Panel',
    border: true,
    layout: 'fit',
    initComponent: function () {
        var me = this;
        me.items = [
            {
                title: '项目查询',
                border: false,
                layout: 'fit',
                items: [
                    Ext.create("app.prm.search.Project")
                ]
            },
            {
                title: '化合物查询',
                border: false,
                layout: 'fit',
                items: [
                    Ext.create("app.prm.search.Substance")
                ]
            },
            {
                title: '文档查询',
                border: false,
                layout: 'fit',
                items: [
                    Ext.create("app.prm.search.Document")
                ]
            }
        ];
        me.callParent();
    }
})